<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改页面</title>
</head>
<body>
<form method="post">
    {% csrf_token %}
    <div>
        <label>学号</label>
        <input type="text" name="snum" value="{{ list.1 }}">
    </div>
    <div>
        <label>姓名</label>
        <input type="text" name="sname" value="{{ list.2 }}">
    </div>
    <div>
        <input type="submit" value="提交">
    </div>
</form>
</body>
</html>